package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

/**
 * @author admin
 * @date 2024/9/18
 */
public interface AddressBookService {
    void add(AddressBook addressBook);

    List<AddressBook> list();

    AddressBook getDefault();

    void setDefault(AddressBook addressBook);

    void update(AddressBook addressBook);

    AddressBook getById(Long id);

    void delete(Long id);
}
